package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author 朱梦晨
 * @Description: 生态熔炼上限请求
 * @date 2024-08-08
 */
@Data
public class EcologyHatchConvertibilityCeilingRequest {


    @ApiModelProperty(value = "熔炼id")
    @NotNull(message = "生态熔炼id不能为空")
    private Long ecologyHatchId;

    @ApiModelProperty(value = "兑换数量")
    @NotNull(message = "兑换数量不能为空")
    @Min(value = 1,message = "铸造数量最小值不能低于1")
    private Integer count;

    @ApiModelProperty(value = "兑换道具Id")
    @NotNull(message = "兑换道具Id不能为空")
    private Long propsId;

    @ApiModelProperty(value = "支付密码")
    @NotNull(message = "支付密码不能为空")
    private String payPwd;
}
